package com.example.mp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author zf
 * @since 2023-02-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TabStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "stuid", type = IdType.AUTO)
    private Integer stuid;

    private String name;

    private String province;

    private String city;

    private String address;

    private String zip;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate date;


}
